package com.example.hxpc.guidancemanagement.model;

/**
 * Created by tao on 2017/11/26.
 * 需要调用的API
 */

public class ApiInfo {
    public static ApiInfo mInstance;
    public static String serverUrl;
    public static final String loginUrl = "http://192.168.0.122:8080/GuidanceManagement/RegisterServlet";

    //获取当前类的对象（单例）
    public static ApiInfo getmInstance(){
        if (mInstance == null){
            mInstance = new ApiInfo();
        }
        return mInstance;
    }


    //初始化服务器地址
    public void initServerUrl(String url){
        serverUrl = url;
    }
}
